package com.csjbot.snowbot_rogue.app;

import android.app.Application;
import android.content.Context;

import com.csjbot.snowbot_rogue.R;
import com.iflytek.cloud.SpeechUtility;

/**
 * Created by Administrator on 2016/8/6 0006.
 */
public class RogueApp extends Application {

    private static Context appContex = null;

    @Override
    public void onCreate() {
        super.onCreate();
        SpeechUtility.createUtility(this, "appid=" + getString(R.string.app_id));
        appContex = this;
    }

    public static Context getAppContext() {
        return appContex;
    }
}
